package com.mmw.crm.service.impl;

import com.mmw.crm.service.SysConfigService;
import org.springframework.stereotype.Service;

@Service
public class SysConfigServiceImpl implements SysConfigService {

    @Override
    public String getLogin() {
        return "{\n" +
                "    \"code\": 0,\n" +
                "    \"Admin-Token\": \"ee71bf74c2624a328e635ddbc38618b5\",\n" +
                "    \"user\": {\n" +
                "        \"deptName\": \"办公室\",\n" +
                "        \"img\": \"\",\n" +
                "        \"createTime\": \"2019-02-13 15:43:26\",\n" +
                "        \"lastLoginTime\": \"2023-10-12 17:00:13\",\n" +
                "        \"num\": \"390823685766627\",\n" +
                "        \"sex\": null,\n" +
                "        \"mobile\": \"12312341234\",\n" +
                "        \"realname\": \"admin\",\n" +
                "        \"parentName\": null,\n" +
                "        \"post\": \"1\",\n" +
                "        \"userId\": 3,\n" +
                "        \"parentId\": 0,\n" +
                "        \"lastLoginIp\": \"127.0.0.1\",\n" +
                "        \"deptId\": 1,\n" +
                "        \"email\": null,\n" +
                "        \"username\": \"admin\",\n" +
                "        \"status\": 1\n" +
                "    },\n" +
                "    \"auth\": {\n" +
                "        \"oa\": {\n" +
                "            \"book\": {\n" +
                "                \"read\": true\n" +
                "            },\n" +
                "            \"announcement\": {\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"delete\": true\n" +
                "            }\n" +
                "        },\n" +
                "        \"work\": {\n" +
                "            \"task\": {\n" +
                "                \"save\": true\n" +
                "            },\n" +
                "            \"work\": {\n" +
                "                \"update\": true\n" +
                "            },\n" +
                "            \"taskClass\": {\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"delete\": true\n" +
                "            }\n" +
                "        },\n" +
                "        \"bi\": {\n" +
                "            \"product\": {\n" +
                "                \"read\": true\n" +
                "            },\n" +
                "            \"oa\": {\n" +
                "                \"read\": true\n" +
                "            },\n" +
                "            \"business\": {\n" +
                "                \"read\": true\n" +
                "            },\n" +
                "            \"achievement\": {\n" +
                "                \"read\": true\n" +
                "            },\n" +
                "            \"contract\": {\n" +
                "                \"read\": true\n" +
                "            },\n" +
                "            \"ranking\": {\n" +
                "                \"read\": true\n" +
                "            },\n" +
                "            \"portrait\": {\n" +
                "                \"read\": true\n" +
                "            },\n" +
                "            \"customer\": {\n" +
                "                \"read\": true\n" +
                "            }\n" +
                "        },\n" +
                "        \"project\": {\n" +
                "            \"projectManage\": {\n" +
                "                \"save\": true\n" +
                "            }\n" +
                "        },\n" +
                "        \"crm\": {\n" +
                "            \"product\": {\n" +
                "                \"read\": true,\n" +
                "                \"excelexport\": true,\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"index\": true,\n" +
                "                \"excelimport\": true,\n" +
                "                \"status\": true\n" +
                "            },\n" +
                "            \"business\": {\n" +
                "                \"read\": true,\n" +
                "                \"transfer\": true,\n" +
                "                \"teamsave\": true,\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"index\": true,\n" +
                "                \"delete\": true\n" +
                "            },\n" +
                "            \"leads\": {\n" +
                "                \"transform\": true,\n" +
                "                \"read\": true,\n" +
                "                \"transfer\": true,\n" +
                "                \"excelexport\": true,\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"index\": true,\n" +
                "                \"excelimport\": true,\n" +
                "                \"delete\": true\n" +
                "            },\n" +
                "            \"contract\": {\n" +
                "                \"discard\": true,\n" +
                "                \"read\": true,\n" +
                "                \"transfer\": true,\n" +
                "                \"teamsave\": true,\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"index\": true,\n" +
                "                \"delete\": true\n" +
                "            },\n" +
                "            \"pool\": {\n" +
                "                \"receive\": true,\n" +
                "                \"excelexport\": true,\n" +
                "                \"index\": true,\n" +
                "                \"distribute\": true\n" +
                "            },\n" +
                "            \"receivables\": {\n" +
                "                \"read\": true,\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"index\": true,\n" +
                "                \"delete\": true\n" +
                "            },\n" +
                "            \"contacts\": {\n" +
                "                \"read\": true,\n" +
                "                \"transfer\": true,\n" +
                "                \"excelexport\": true,\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"index\": true,\n" +
                "                \"excelimport\": true,\n" +
                "                \"delete\": true\n" +
                "            },\n" +
                "            \"customer\": {\n" +
                "                \"read\": true,\n" +
                "                \"transfer\": true,\n" +
                "                \"teamsave\": true,\n" +
                "                \"excelexport\": true,\n" +
                "                \"save\": true,\n" +
                "                \"update\": true,\n" +
                "                \"index\": true,\n" +
                "                \"lock\": true,\n" +
                "                \"excelimport\": true,\n" +
                "                \"dealStatus\": true,\n" +
                "                \"putinpool\": true,\n" +
                "                \"delete\": true\n" +
                "            }\n" +
                "        },\n" +
                "        \"manage\": {\n" +
                "            \"oa\": {\n" +
                "                \"examine\": true\n" +
                "            },\n" +
                "            \"system\": {\n" +
                "                \"read\": true,\n" +
                "                \"update\": true\n" +
                "            },\n" +
                "            \"examineFlow\": {\n" +
                "                \"update\": true\n" +
                "            },\n" +
                "            \"work\": {\n" +
                "                \"update\": true\n" +
                "            },\n" +
                "            \"permission\": {\n" +
                "                \"update\": true\n" +
                "            },\n" +
                "            \"configSet\": {\n" +
                "                \"read\": true,\n" +
                "                \"update\": true\n" +
                "            },\n" +
                "            \"users\": {\n" +
                "                \"deptSave\": true,\n" +
                "                \"deptDelete\": true,\n" +
                "                \"read\": true,\n" +
                "                \"userEnables\": true,\n" +
                "                \"userUpdate\": true,\n" +
                "                \"userSave\": true,\n" +
                "                \"deptUpdate\": true\n" +
                "            },\n" +
                "            \"crm\": {\n" +
                "                \"field\": true,\n" +
                "                \"achievement\": true,\n" +
                "                \"pool\": true,\n" +
                "                \"setting\": true\n" +
                "            }\n" +
                "        }\n" +
                "    }\n" +
                "}";
    }

    @Override
    public String getLogNum() {
        return "{\n" +
                "    \"code\": 0,\n" +
                "    \"data\": {\n" +
                "        \"checkReceivables\": 0,\n" +
                "        \"followCustomer\": 0,\n" +
                "        \"followLeads\": 0,\n" +
                "        \"remindReceivablesPlan\": 0,\n" +
                "        \"checkContract\": 0,\n" +
                "        \"todayCustomer\": 0,\n" +
                "        \"endContract\": 0,\n" +
                "        \"putInPoolRemind\": 0\n" +
                "    }\n" +
                "}";
    }
}
